# -*- coding: utf-8 -*-
from datetime import timedelta
from airflow.operators.bash import BashOperator
from jms.dm.dm_waybill_prescription_reach_details_platform_dt import jms_dm__dm_waybill_prescription_reach_details_platform_dt
export_prescription_taking_wentaiold_oss = BashOperator(
    task_id='export_prescription_taking_wentai_oss',
    email=['shenjiaming@jtexpress.com','yl_bigdata@yl-scm.com'],
    pool='unlimited_pool',
    bash_command='jms/oss/export_prescription_taking_wentai_oss/execute.sh',
    execution_timeout=timedelta(minutes=50),
    sla=timedelta(hours=7)
)

export_prescription_taking_wentaiold_oss << [
    jms_dm__dm_waybill_prescription_reach_details_platform_dt
]
